using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;
using System.Data.Linq;
using System.ComponentModel;

namespace MRSite.Entity
{

    /// <summary>
    /// 团队奖励规则
    /// </summary>
    [Table(Name = "team_adward")]
    public class TeamAdward : Entity
    {
        /// <summary>
        ///
        /// </summary>
        [Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
        public override int id { get; set; }

        /// <summary>
        ///会员等级值
        /// </summary>
        [Column(Name = "grade")]
        public int grade { get; set; }

        /// <summary>
        /// 团队业绩
        /// </summary>
        [Column(Name = "teamyeji")]
        public Decimal teamyeji { get; set; }

        /// <summary>
        /// 奖励百分比
        /// </summary>
        [Column(Name = "jlper")]
        public Decimal jlper { get; set; }




        /// <summary>
        /// 备注
        /// </summary>
        [Column(Name = "remark")]
        public String remark { get; set; }


        /// <summary>
        /// 类别 0：自己个人奖励；1：团队奖励
        /// </summary>
        [Column(Name = "type")]
        public int type { get; set; }

    }
}

